﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace AssemblyViewer.Model
{
    class AssemblyItem
    {
        public string FileName { get; private set; }

        public AssemblyDetailInfo AssemblyInfo { get; private set; }

        private AssemblyItem()
        {
        }

        public AssemblyItem(string filePath)
        {
            FileName = new FileInfo(filePath).Name;
            AssemblyInfo = new AssemblyDetailInfo(filePath);
        }

        public override string ToString()
        {
            return FileName;
        }
    }
}
